﻿using System;

namespace BitsOfStuff.MyActions
{
    /// <summary>
    /// Class that represents action, when we are w8ing for next user char
    /// </summary>
    [Serializable]
    public class MyDoNothingAction : MyAction
    {
        private const int DoNothingPriority = 0;

        /// <summary>
        /// Legasy action for making action of char , now we use Events
        /// </summary>
        /// <returns>status , if action was made</returns>
        public override bool makeAction()
        {
            return false;
        }

        /// <summary>
        /// Function for alocate local resources of InkCanvas
        /// </summary>
        /// <param name="inkCanvas">local object of inkCanvas</param>
        public override void assignInkCanvas(System.Windows.Controls.InkCanvas inkCanvas)
        {
        }

        /// <summary>
        /// Constructor based of parent
        /// </summary>
        public MyDoNothingAction()
            : base(DoNothingPriority)
        { }
    }
}